package com.ruicar.afs.cloud.workflow.greatwall.enums;

import com.ruicar.afs.cloud.common.core.enums.AfsBaseEnum;
import com.ruicar.afs.cloud.common.core.enums.annotations.AfsEnum;

public enum GwtObjectCode implements AfsBaseEnum {

    @AfsEnum(key = "none", desc = "用于默认处理")
    NONE,
    @AfsEnum(key = "WTASK", desc = "任务创建")
    TASK_CREATE,
    @AfsEnum(key = "WFOINS", desc = "任务分配")
    TASK_ASSIGN,
    @AfsEnum(key = "LEADER", desc = "获取组长")
    GET_GROUP_MANAGER,
    @AfsEnum(key = "APPLYUSER", desc = "获取经销商")
    GET_APPLY_USER,
    @AfsEnum(key = "OPERUSER", desc = "获取操作人")
    GET_OPERATOR,
    @AfsEnum(key = "RETURN", desc = "获取流程可回退人")
    GET_RETURN_USER,
    @AfsEnum(key = "GetAppointOperType", desc = "流程设计器获取人员")
    DESIGN_ROLE,
    @AfsEnum(key = "GetTable", desc = "获取流程配置参数")
    DESIGN_FLOW_PARAM_CONFIG_INFO,
    @AfsEnum(key = "GetOrg", desc = "获取组织信息")
    DESIGN_ORG_INFO,
    @AfsEnum(key = "GetUser", desc = "获取用户信息")
    DESIGN_USER_INFO,
    @AfsEnum(key = "GetCascade", desc = "获取级联数据")
    DESIGN_CASCADE_DATA,

    @AfsEnum(key = "Area", desc = "获取级联地域信息")
    DESIGN_AREA_DATA,

    @AfsEnum(key = "AssignError", desc = "找不到处理人")
    FLOW_ASSIGN_ERROR,

    @AfsEnum(key = "DataError", desc = "获取业务数据失败")
    FLOW_DATA_ERROR,

    @AfsEnum(key = "DefaultError", desc = "其他异常")
    FLOW_DEFAULT_ERROR,

    @AfsEnum(key = "auto", desc = "自动处理异常")
    AUTO_PROCESS,
    @AfsEnum(key = "oper_assigned", desc = "角色信息")
    ROLE_CODE
}
